using System;
using NHibernate;

namespace Nvigorate.Repository
{
    public interface ITranslator<TModel, TDTO>
        where TModel : class
        where TDTO : class
    {
        TDTO Get(TModel model);
        Action<TDTO> GetUpdateStrategy(TModel model);
        Func<TDTO, TModel> GetCreateStrategy();
    }
}